home *** CD-ROM | disk | FTP | other *** search
- /* Inset Text */
- /* This macro gets a filename, reads the file into the */
- /* clipboard, then inserts it into FC/FW */
- /* requires rexxreqtools.lib, rexxutil.lib and */
- /* rexxsupport.lib */
- /* Mike Fitzgerald (mrfitz@groupz.net) 25 Sep 95 */
-
- options results
- call addlib('rexxutil.library',0,-30)
- call addlib('rexxsupport.library',0,-30)
- call addlib('rexxreqtools.library',5,-30)
- result = rtfilerequest(,,,'_Insert')
- plip=result
- if plip="" then exit
- call open(clip,plip,'r')
- a=1
- do until eof(clip)
- tip.a=readln(clip)
- a=a+1
- end
- call close(clip)
- tip.0=a
- call writeclip(tip.,STEM,,0)
- paste
-